package com.qy.securitydemo.dal;

import com.qy.securitydemo.model.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

/**
 * @author HXB
 * @Title:
 * @Package
 * @Description:
 * @date 2019-11-0811:23
 */

@Mapper
@Component
public interface SysUserMapper {
    @Select("select * from sys_user where username=#{username}")
    SysUser findByUsername(String username);
}
